<template class="">
  <NavMenu v-if="isWideEnough" />
  <NavButton v-else />
</template>

<script setup>
import { computed } from "vue";
import NavButton from "./navButton.vue";
import NavMenu from "./navMenu.vue";
import useCommonStore from "@/store/common.js";
const commonStore = useCommonStore();
const isWideEnough = computed(() => commonStore.isWideEnough);
</script>
